from django.urls import path    
from .views import LoginViewSet,RefreshTokenView,LogoutView
urlpatterns = [
    path('login/', LoginViewSet.as_view({'post': 'create'})),#GenericViewSet
    path('refresh/', RefreshTokenView.as_view()),#APIView,直接就是post不用指定
    path('logout/', LogoutView.as_view({'post': 'create'})),#GenericAPIView
   

]